<%-- 
    Document   : searchuser
    Created on : Dec 20, 2012, 9:58:40 AM
    Author     : ngoc.phan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Searching user</h1>
        <p>Searching by username</p>
        <form:form commandName="searchinguser">
            <form:input path="userName"/>
            <input type="submit" value="Search"/>
        </form:form>
        <table border="1">
            <tr>
                <td>User name</td>
                <td>Password</td>
                <td>userID</td>
                <td>roleID</td>
                <td>roleName</td>
            </tr>
<!--            <c:forEach items="${listUser}" var="users">
                <tr>
                <td><c:out value="${users.userName}" /></td>
                <td><c:out value="${users.password}" /></td>
                <td><c:out value="${users.userId}" /></td>
                <td><c:out value="${users.role.roleId}" /></td>
                <td><c:out value="${users.role.roleName}" /></td>
                </tr>
            </c:forEach>
    -->
        </table>
    </body>
</html>
